/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 安全管理体系资料
 *
 * @author pig
 * @date 2023-10-23 19:00:28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class BaseSafeManageMaterialExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;



	/**
	* 资料类型
	*/
    @ExcelProperty("资料类型")
	@ExcelDictValidate(enumResolver = "material_type")
    private String materialTypeStr;

	/**
	* 资料名称
	*/
    @ExcelProperty("资料名称")
    private String materialName;

	/**
	* 资料编号
	*/
    @ExcelProperty("资料编号")
    private String materialCode;

	/**
	* 发布单位
	*/
    @ExcelProperty("发布单位")
    private String publishUnit;

	/**
	* 有效日期
	*/
    @ExcelProperty("有效日期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date effectiveDate;

	/**
	* 失效日期
	*/
    @ExcelProperty("失效日期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date ineffectiveDate;

	/**
	* 资料简述
	*/
    @ExcelProperty("资料简述")
    private String materialComment;

	/**
	* 资料备注
	*/
    @ExcelProperty("资料备注")
    private String remark;

}
